package models;

import java.util.List;

import javax.persistence.Entity;
import javax.persistence.ManyToMany;
import javax.persistence.OneToMany;
import javax.persistence.OneToOne;

import play.db.jpa.Model;

/**
 * 
 * @author emam
 * 
 */
@Entity
public class IdeasInLabel extends Model {
@OneToOne
public Idea idea;
long topicId;
long departmentId;
public int state;
public long labelId;
public IdeasInLabel(Idea idea,long topicId,long departmentId,long labelId)
{
	this.idea=idea;
	this.topicId=topicId;
	this.departmentId=departmentId;
	this.state=0;
	this.labelId=labelId;
	
}
}

